package com.example.chat.viewmodel

import androidx.compose.runtime.mutableStateOf
import androidx.lifecycle.ViewModel
import com.example.featuresdk.model.Topic
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

@HiltViewModel
class ChatListViewModel @Inject constructor(): ViewModel() {
    /**
     * Normally, it should call repository to get the topics from room database or remote web service
     */
    val chatHistories by lazy{
        mutableStateOf(Topic.topics)
    }
}